<html>
  <head>
    <title>Tests</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="lib/browser/mocha.css" />
    <script src="./lib/browser/jquery-1.10.1.min.js"></script>
    <script src="./lib/mocha.js"></script>
    <script src="./lib/chai.js"></script>
    <script>mocha.setup('bdd')</script>
    <script>
      function assert(expr, msg) {
        if (!expr) throw new Error(msg || 'failed');
      }
    </script>
    <script src="./spec/ipc-spec.js"></script>
    <script src="./spec/permissions-spec.js"></script>
    <script src="./spec/general-spec.js"></script>
    <script>
      onload = function(){
        // delay so we make sure the permissions object arrived first through ipc
        setTimeout(function(){
          var runner = mocha.run();

        }, 1000);
      };
    </script>
  </head>
  <body>
    <div id="mocha"></div>
  </body>
</html>
